package com.frejoys.common.dto.black;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

@Data
public class BlackAddDto {

    @NotBlank(message = "{600}")
    @Schema(type = "String", name = "mark", description = "标识(phone 或 ip)", required = true, defaultValue = "18800012345")
    private String mark;

    // @NotBlank(message = "{600}")
    @Schema(type = "String", name = "content", description = "原因", required = false, defaultValue = "长得丑")
    private String content;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "type", description = "类型：1.短信，2.ip", required = true, defaultValue = "1")
    private Integer type;

}
